import { FMVCS } from "../../fgui/fmvc/FMVCS";
import { ConstDefine } from "../common/ConstDefine";
import Manager from "../../manager/Manager";

export default class LevelChooseData extends FMVCS.FData {
    /** 配置 */
    config: { [key: string]: ConstDefine.Config.StarConfig } = null;

    constructor(){
        super();
        this.initConfig();
    }

    initConfig() {
        Manager.res.getConfigByName(`starconfig`).then((config: { [key: string]: ConstDefine.Config.StarConfig }) => {
            this.config = config;
        });
    }
}